import layout from '@/layout'
export default {
  path: '/business',
  component: layout,
  // redirect:'/order/ElectricianOrder',
  name: 'Business',
  meta: {
    title: '系统管理',
    icon: 'el-icon-connection'
  },
  children: [
    {
      path: '/business/cooperation',
      component: () => import('@/views/business/cooperation/index'),
      name: 'cooperation',
      meta: { title: '用户管理' }
    },
    {
      path: '/business/role',
      component: () => import('@/views/business/role/index'),
      name: 'newly',
      meta: { title: '角色管理' }
    },
    {
      path: '/business/management',
      component: () => import('@/views/business/management/index'),
      name: 'management',
      meta: { title: '账号管理' }
    },
    {
      path: '/business/resource',
      component: () => import('@/views/business/resource/index'),
      name: 'resource',
      meta: { title: '权限管理' },
      hidden: true
    },
    {
      path: '/business/menu',
      component: () => import('@/views/business/menu/index'),
      name: 'menu',
      meta: { title: '菜单管理' },
      hidden: true
    }
  ]
}
